//ZcAdmin less转css及css压缩
module.exports = function (grunt) {

  'use strict';

  grunt.initConfig({
    less: {
      development: {
        options: {
          compress: false
        },
        files: {
          // 框架less转css
          //"Content/ZcAdmin.css": "Content/build/less/AdminLTE.less",
          // 框架皮肤less转css
          "Content/ZcAdmin-skins.css": "Content/Less/less/skins/_all-skins.less"
        }
      },
      production: {
        options: {
          compress: true
        },
        files: {
          // 框架css压缩
          //"Content/ZcAdmin.min.css": "Content/build/less/AdminLTE.less",
          // 框架皮肤css压缩
          "Content/ZcAdmin-skins.min.css": "Content/Less/less/skins/_all-skins.less"
        }
      }
    },
  });


  grunt.loadNpmTasks('grunt-contrib-less');

  grunt.registerTask('lint', ['less']);

};
